package com.beehoo.dcportal.common;

public class Constant {

	public static final String SESSION_USER_ID = "SESSION_USER_ID";
	public static final String SESSION_USER_NAME = "SESSION_USER_NAME";
	public static final String SESSION_USER_IPIMSI = "SESSION_USER_IPIMSI";
	public static final String SESSION_VALIDATECODE = "SESSION_VALIDATECODE";
	public static final String SESSION_USER_ROLE = "SESSION_USER_ROLE";
	
	public static final String SESSION_STREET_DOMAIN = "SESSION_STREET_DOMAIN";
	public static final String SESSION_STREET_ID = "SESSION_STREET_ID";
	public static final String SESSION_STREET_MENU = "SESSION_STREET_MENU";
	public static final String SESSION_CURRENT_MENU = "SESSION_CURRENT_MENU";
	public static final String SESSION_STREET_PORTLET = "SESSION_STREET_PORTLET";
	public static final String SESSION_STREET_THEME = "SESSION_STREET_THEME";
	
	public static final String PARAM_STREET_ID = "sid";
	
	public static final String AR_DOESNOTEXISTPAGE = "dnepage";
	
	/*******************   上传图片命名规则 ********************************/
	public static final String IMG_MESSAGE_COVER = "_cv_";
	public static final String IMG_MESSAGE_CONTENT = "_pl_";
	public static final String IMG_LEADER_PHOTO = "_ld_";
	public static final String IMG_COMMUNITY_PHOTO = "_cu_";
	public static final String IMG_ORG_PHOTO = "_org_";
	public static final String IMG_PORTAL_LOGO = "_logo_";
	public static final String IMG_PORTAL_BG = "_bg_";
        public static final String FILE_MESSAGE_ATTACHMENT = "_at_";
        
	
	public static final int UPLOAD_FILE_MAX_SIZE = 1024000;
        //上传附件大小限制
        public static final int UPLOAD_ATTACHMENT_MAX_SIZE = 10240000;
	
	/*******************   系统菜单用到的图片 ********************************/
	public static final String DEFAULT_IMG_FOLDER = "../admin/images/menu/install.gif";
	public static final String DEFAULT_IMG_DOCPIC = "../admin/images/menu/doc.gif";
	public static final String DEFAULT_IMG_ROOT = "../admin/images/menu/root.gif";
	
	/*******************   信息列表默认显示行数 ********************************/
	public static final int MSG_DEFAULT_PAGEROWS = 15;
	
	/*******************   评论列表默认显示行数 ********************************/
	public static final int COMMENT_DEFAULT_PAGEROWS = 8;
	
	/*******************   portlet列表默认显示行数 ********************************/
	public static final int PORTLET_DEFAULT_ROWS = 8;
	
	/*******************   admin列表默认显示行数 ********************************/
	public static final int ADMIN_DEFAULT_ROWS = 15;
}
